package com.draemon.haixiawenti.repository;

import com.yangzcp.userpojo.Apps;
import com.yangzcp.userpojo.News;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * <p></p>
 *
 * @author  yangz
 * @date    2016/11/13
 * @version latest
 */
public interface AppsRepository extends JpaRepository<Apps, Integer>{
    @Query("from Apps where enable_flag='100010001' order by num")
    public List<Apps> findCond();
}
